package com.wjw.rabbitdemo.entity;

import java.io.Serializable;

public class OrderEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String orderContent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderContent() {
        return orderContent;
    }

    public void setOrderContent(String orderContent) {
        this.orderContent = orderContent;
    }

    public OrderEntity(Integer id, String orderContent) {
        this.id = id;
        this.orderContent = orderContent;
    }
    public OrderEntity() {
    }

    @Override
    public String toString() {
        return "OrderEntity{" +
                "id=" + id +
                ", orderContent='" + orderContent + '\'' +
                '}';
    }
}
